package com.spzx.user.service;

import com.spzx.common.core.domain.R;
import com.spzx.user.domain.Region;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.user.domain.UserAddress;

import java.util.List;

/**
* @author DELL
* @description 针对表【region(地区信息表)】的数据库操作Service
* @createDate 2024-10-23 21:47:01
*/
public interface RegionService extends IService<Region> {

    //String getlist1(String code);

    List<Region> getlist(String code);
    /**
     * 根据code获取地区名称
     * @param code
     * @return
     */
    String getNameByCode(String code);
}


